<!DOCTYPE html>
<html>
    <head>
        <script src="../js/vue.js"></script>
    </head>
    <body>
        <div id="app">
            <p>{{name}}</p>
        </div>
        <script>
            var vm = new Vue({
                el:'#app',
                data:{
                    name:"定义初始数据！"
                }
            });
            console.log(vm.$data.name);
            vm.$data.name = "这是改变之后的值";
            console.log(vm.name);
            console.log(vm.$el);
        </script>
    </body>
</html>